import 'package:wan_android/utils/request.dart';

// 搜索页 - 热词
getHotKeyList() async {
  var response = await Request().request('/hotkey/json');
  return response;
}

// 搜索页 - 搜索关键词
getSearchData(data, { int? page = 0}) async {
  var response = await Request().request('/article/query/$page/json', method: DioMethod.post, data: data);
  return response;
}